<template>
  <div style="width: 100%;height:100%;background-color: #071239">
    <Header @menuSelect="menuSelect"></Header>
    <component
     :is="selectMenu"
    ></component>
  </div>
</template>

<script>
import Header from "./Header.vue";
import func1 from "./func1";
import func2 from "./func2";
import func3 from "./func3";
export default {
  components:{Header,func1,func2,func3},
  data () {
    return {
      selectMenu:"func1"
    }
  },
  created() {
  },
  mounted() {
  },
  methods:{
    menuSelect(menu){
      this.selectMenu = menu;
    }
  }
}
</script>

